home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / July 96 / FW_CODPart ClonePartInfo < prev    next >
Encoding:
Internet Message Format  |  1996-07-22  |  1.5 KB  |  [TEXT/ttxt]

  1. Subject:     FW_CODPart::ClonePartInfo
  2. Sent:        7/21/96 5:45 AM
  3. Received:    7/22/96 10:48 AM
  4. From:        Hutchings, Richard B. "Brad", brad@hutchings-software.com
  5. Reply-To:    ODF Interest, ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. What is the future plan for FW_CODPart::ClonePartInfo? Right now, it calls
  9. WritePartInfo, which calls FW_CFrame::WritePartInfo. There is code
  10. commented out to call FW_CFrame::ClonePartInfo.
  11.  
  12. The reason I ask is that I'm caching a little bit of data with each frame.
  13. The data can take awhile (2-3 seconds per frame) to generate from scratch,
  14. so I use a "just in time" strategy to compute parts of it. However, to
  15. improve execution speed on reopening of my part, I bite the bullet and
  16. compute everything that isn't already cached during the
  17. FW_CFrame::ExternalizeFrame.
  18.  
  19. So, the big problem is that inside FW_CFrame::ExternalizeFrame, there's no
  20. easy way of telling whether it's writing the part info, or cloning it. If I
  21. knew it were cloning, I wouldn't bother recomputing all that garbage. Then,
  22. copies and drags would happen much quicker.
  23.  
  24. I'd just like to know the direction that ODF is going, so that as I modify
  25. the framework this time (ugh!), I'll minimize my maintenance problems...
  26.  
  27. Thanks,
  28.  
  29. Brad
  30.  
  31. <mailto: "Brad Hutchings" brad@hutchings-software.com>
  32. <http://www.hutchings-software.com>
  33.  
  34. Ask me about:
  35.     Hutchings Software's Rapid-I(tm) Button
  36.     Hutchings Software's Essential Strips(tm)
  37.  
  38.  
  39.